//鱼是一种动物，具有会游的特性
public class Fish extends Animal implements ISwimming{
    public Fish(String name){
        super(name);
    }

    public void swim(){
        System.out.println(this.name + " 正在用尾巴游泳...");
    }

}